package com.chaopei.day39.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author Corday 天涯
 * @Date 2022/4/23 21:19
 * 2.一对多关联查询
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Mother {
    private int mid;
    private String name;
    private String tel;
//    关联集合对象,多个孩子
    private List<Kid> kids;
}
